<?php
session_start();

include_once("lib/Smarty/Smarty.class.php");

if(!isset($_SESSION['login']) && !isset($_SESSION['pass'])){
    session_destroy();
    $_GET['id']=99;
}

$smarty = new Smarty();

$smarty->display("index.tpl");
?>